package com.cnhis.cloudhealth.clinical.hosdoctor.medicalrecord.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.hosdoctor.medicalrecord.bo.MedicalrecordBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by xiezhenyuan on 2016/3/25.
 */
@Service
public class MedicalrecordImpl implements IMedicalrecord {

    @Autowired
    private MedicalrecordBo medicalrecordBo;

    @Override
    public ModelVo getPmedrecord(Map map) {
        return medicalrecordBo.selectPmedrecord(map);
    }

    @Override
    public ModelVo getPbaby(Map map) {
        return medicalrecordBo.selectPbaby(map);
    }

    @Override
    public ModelVo getPsinglemedrecord(Map map) {
        return medicalrecordBo.selectPsinglemedrecord(map);
    }

    @Override
    public ModelVo getPinandoutdate(Map map) {
        return medicalrecordBo.selectPinandoutdate(map);
    }

    @Override
    public ModelVo getNursingrecord(Map map) {
        return medicalrecordBo.selectNursingrecord(map);
    }

    @Override
    public ModelVo getNtempraturerecord(Map map,int pageNo,int pageSize) {
        return medicalrecordBo.selectNtempraturerecord(map,pageNo,pageSize);
    }

    @Override
    public ModelVo getNoperationinfo(Map map,int pageNo,int pageSize) {
        return medicalrecordBo.selectNoperationinfo(map,pageNo,pageSize);
    }

    @Override
    public ModelVo getMedicalrecordlist(Map map,int start,int end) {
        return medicalrecordBo.selectMedicalrecordlist(map,start,end);
    }

    @Override
    public ModelVo getDischargeStatus() {
        return medicalrecordBo.selectDischargeStatus();
    }

    @Override
    public ModelVo getGradeClassify() {
        return medicalrecordBo.selectGradeClassify();
    }

    @Override
    public ModelVo getHealGrade() {
        return medicalrecordBo.selectHealGrade();
    }

    @Override
    public ModelVo getPatientMedrcd(Map map) {
        return medicalrecordBo.selectPatientMedrcd(map);
    }

    @Override
    public ModelVo getOperationRecord(Map map) {
        return medicalrecordBo.selectOperationRecord(map);
    }

    @Override
    public ModelVo getTransferRecord(Map map) {
        return medicalrecordBo.selectTransferRecord(map);
    }

    @Override
    public ModelVo getScheduleRecord(Map map) {
        return medicalrecordBo.selectScheduleRecord(map);
    }

    @Override
    public ModelVo getAmountMoney(Map map) {
        return medicalrecordBo.selectAmountMoney(map);
    }

    @Override
    public ModelVo getFamilyRelationship() {
        return medicalrecordBo.selectFamilyRelationship();
    }

    @Override
    public ModelVo getHospitalExpense(Map map) {
        return medicalrecordBo.selectHospitalExpense(map);
    }

    @Override
    public ModelVo getValidCert() {
        return medicalrecordBo.selectValidCert();
    }

    @Override
    public ModelVo getOperationType() {
        return medicalrecordBo.selectOperationType();
    }
}
